package cn.edu.sasu.mapper;

import cn.edu.sasu.domain.entity.SysUserRole;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 王尧
 * @since 2024-04-29
 */
@Mapper
public interface SysUserRoleMapper {
    /*根据用户的id获取用户对应的角色*/
    int getRoleByUserId(@Param("userId") Integer userId);

}
